package dssd.auditoria;

public class ItemLog {
	
	public static final String SAVE   = "save";
	public static final String UPDATE = "update";
	public static final String DELETE = "delete";
	
	private long id;
	private String className;
	private long objectId;	
		
	public ItemLog() {
		super();
	}
	
	
	/**
	 * @param id
	 * @param className
	 * @param objectId
	 * @param action
	 */
	public ItemLog(String className, long objectId) {
		super();
		this.className = className;
		this.objectId = objectId;
	}


	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}
	/**
	 * @return the className
	 */
	public String getClassName() {
		return className;
	}
	/**
	 * @param className the className to set
	 */
	public void setClassName(String className) {
		this.className = className;
	}
	/**
	 * @return the objectId
	 */
	public long getObjectId() {
		return objectId;
	}
	/**
	 * @param objectId the objectId to set
	 */
	public void setObjectId(long objectId) {
		this.objectId = objectId;
	}

}
